home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * This file was generated by the SOM Compiler.
- * FileName: Locrian:WWDCSun:C:SUCursor.h.
- * Generated using:
- * SOM Precompiler somipc: somc/smemit.c
- * SOM Emitter emith.dll: somc/smmain.c
- */
-
- /*
- *
- * Constants
- *
- */
-
-
- #ifndef SOM_ODStorageUnitCursor_h
- #define SOM_ODStorageUnitCursor_h
-
-
- #include <som.h>
-
- /*
- * -- This emitter treats Method Tokens as Thunks by default
- * -- Use the sc modifier "nothunks" to change this default
- */
- #undef somresolve_
- #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
-
- /*
- * Define the class name as an object type
- */
- #ifndef ODStorageUnitCursor
- #define ODStorageUnitCursor SOMObject
- #endif
- #include <ODObject.h>
-
- /*
- * Start of user-defined types:
- */
- #ifndef ODExtension
- #define ODExtension SOMObject
- #endif /* ODExtension */
- #ifndef ODSession
- #define ODSession SOMObject
- #endif /* ODSession */
- #ifndef ODStorageUnitRefIterator
- #define ODStorageUnitRefIterator SOMObject
- #endif /* ODStorageUnitRefIterator */
- #ifndef ODPart
- #define ODPart SOMObject
- #endif /* ODPart */
- #ifndef ODStorageUnitView
- #define ODStorageUnitView SOMObject
- #endif /* ODStorageUnitView */
- #ifndef ODDraft
- #define ODDraft SOMObject
- #endif /* ODDraft */
-
- /*
- * End of user-defined types.
- */
-
- #define ODStorageUnitCursor_MajorVersion 0
- #define ODStorageUnitCursor_MinorVersion 0
-
- /*
- * External name shortening if required
- */
- #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
- #define ODStorageUnitCursorNewClass c
- #define ODStorageUnitCursorClassData d
- #define ODStorageUnitCursorCClassData x
- #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
- /*--------------Migration------------*/
- #define ODStorageUnitCursor_classObj ODStorageUnitCursorClassData.classObject
- #define _ODStorageUnitCursor ODStorageUnitCursor_classObj
-
- /*
- * Declare the class creation procedure
- */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export on
- #endif
-
- SOMEXTERN SOMClass * SOMLINK ODStorageUnitCursorNewClass(integer4 somtmajorVersion,
- integer4 somtminorVersion);
-
- /*
- * Declare the class data structure
- */
- SOMEXTERN struct ODStorageUnitCursorClassDataStructure {
- SOMAny *classObject;
- somMToken InitStorageUnitCursor;
- somMToken GetCursor;
- }
- #ifdef SOM_NO_DATA_EXPORTS
- * ODStorageUnitCursorGetClassData ( void );
- # undef ODStorageUnitCursorClassData
- # define ODStorageUnitCursorClassData (*ODStorageUnitCursorGetClassData())
- #else
- ODStorageUnitCursorClassData;
- #endif /* SOM_NO_DATA_EXPORTS */
-
- #if applec ^ PRAGMA_LIB_EXPORT
- #pragma lib_export off
- #endif
-
-
- /*
- * Declare the C specific class data structure
- */
- SOMEXTERN struct ODStorageUnitCursorCClassDataStructure {
- somMethodTabs parentMtab;
- somDToken instanceDataToken;
- } ODStorageUnitCursorCClassData;
-
- /*
- * New and Renew macros for ODStorageUnitCursor
- */
- #define ODStorageUnitCursorNew() \
- ( ( ! (ODStorageUnitCursorClassData.classObject) && \
- (ODStorageUnitCursorNewClass(ODStorageUnitCursor_MajorVersion, ODStorageUnitCursor_MinorVersion)) ), \
- (_somNew(ODStorageUnitCursorClassData.classObject)) )
- #define ODStorageUnitCursorRenew(buf) \
- ( _somRenew(ODStorageUnitCursorClassData.classObject, buf) )
-
- /*
- * Override method: somInit
- */
- #define ODStorageUnitCursor_somInit(somSelf) \
- SOMObject_somInit(somSelf)
-
- /*
- * Override method: somUninit
- */
- #define ODStorageUnitCursor_somUninit(somSelf) \
- SOMObject_somUninit(somSelf)
-
- /*
- * New Method: InitStorageUnitCursor
- */
- typedef void (SOMLINK *somTD_ODStorageUnitCursor_InitStorageUnitCursor)(ODStorageUnitCursor *somSelf, Environment *ev,
- ODPropertyName propertyName,
- ODValueType valueType,
- ODValueIndex valueIndex);
- #define somMD_ODStorageUnitCursor_InitStorageUnitCursor "::ODStorageUnitCursor::InitStorageUnitCursor"
- #define ODStorageUnitCursor_InitStorageUnitCursor(somSelf,ev,propertyName,valueType,valueIndex) \
- (SOM_Resolve(somSelf, ODStorageUnitCursor, InitStorageUnitCursor) \
- (somSelf,ev,propertyName,valueType,valueIndex))
- #ifndef SOMGD_InitStorageUnitCursor
- #if (defined(_InitStorageUnitCursor) || defined(__InitStorageUnitCursor))
- #undef _InitStorageUnitCursor
- #undef __InitStorageUnitCursor
- #define SOMGD_InitStorageUnitCursor 1
- #else
- #define _InitStorageUnitCursor ODStorageUnitCursor_InitStorageUnitCursor
- #endif /* _InitStorageUnitCursor */
- #endif /* SOMGD_InitStorageUnitCursor */
-
- /*
- * New Method: GetCursor
- */
- typedef void (SOMLINK *somTD_ODStorageUnitCursor_GetCursor)(ODStorageUnitCursor *somSelf, Environment *ev,
- ODPropertyName* propertyName,
- ODValueType* valueType,
- ODValueIndex* valueIndex);
- #define somMD_ODStorageUnitCursor_GetCursor "::ODStorageUnitCursor::GetCursor"
- #define ODStorageUnitCursor_GetCursor(somSelf,ev,propertyName,valueType,valueIndex) \
- (SOM_Resolve(somSelf, ODStorageUnitCursor, GetCursor) \
- (somSelf,ev,propertyName,valueType,valueIndex))
- #ifndef SOMGD_GetCursor
- #if (defined(_GetCursor) || defined(__GetCursor))
- #undef _GetCursor
- #undef __GetCursor
- #define SOMGD_GetCursor 1
- #else
- #define _GetCursor ODStorageUnitCursor_GetCursor
- #endif /* _GetCursor */
- #endif /* SOMGD_GetCursor */
- #ifndef SOM_DONT_USE_INHERITED_MACROS
- #define ODStorageUnitCursor_InitObject ODObject_InitObject
- #define ODStorageUnitCursor_IsInitialized ODObject_IsInitialized
- #define ODStorageUnitCursor_HasExtension ODObject_HasExtension
- #define ODStorageUnitCursor_GetExtension ODObject_GetExtension
- #define ODStorageUnitCursor_ReleaseExtension ODObject_ReleaseExtension
- #define ODStorageUnitCursor_Purge ODObject_Purge
- #define ODStorageUnitCursor_SubClassResponsibility ODObject_SubClassResponsibility
- #define ODStorageUnitCursor_somFree SOMObject_somFree
- #define ODStorageUnitCursor_somGetClass SOMObject_somGetClass
- #define ODStorageUnitCursor_somGetClassName SOMObject_somGetClassName
- #define ODStorageUnitCursor_somGetSize SOMObject_somGetSize
- #define ODStorageUnitCursor_somIsA SOMObject_somIsA
- #define ODStorageUnitCursor_somIsInstanceOf SOMObject_somIsInstanceOf
- #define ODStorageUnitCursor_somRespondsTo SOMObject_somRespondsTo
- #define ODStorageUnitCursor_somDispatchV SOMObject_somDispatchV
- #define ODStorageUnitCursor_somDispatchL SOMObject_somDispatchL
- #define ODStorageUnitCursor_somDispatchA SOMObject_somDispatchA
- #define ODStorageUnitCursor_somDispatchD SOMObject_somDispatchD
- #define ODStorageUnitCursor_somDispatch SOMObject_somDispatch
- #define ODStorageUnitCursor_somClassDispatch SOMObject_somClassDispatch
- #define ODStorageUnitCursor_somPrintSelf SOMObject_somPrintSelf
- #define ODStorageUnitCursor_somDumpSelf SOMObject_somDumpSelf
- #define ODStorageUnitCursor_somDumpSelfInt SOMObject_somDumpSelfInt
- #endif /* SOM_DONT_USE_INHERITED_MACROS */
-
- #endif /* SOM_ODStorageUnitCursor_h */
-